{loop $tags $i $t}
<li>
	<div class="pic">
		<a class="block" href="javascript:void(0)">
			<img src="{$t[thumb]}" alt="{$t[alt]}" />
		</a>
	</div>
	<p class="tit">
		<a href="{$t[linkurl]}" title="{$t[alt]}" {if $target} target="{$target}"{/if}>{$t[title]}</a>
	</p>
</li>
{/loop}
{if $showpage && $pages}
<div class="pages">{$pages}</div>
{/if}
